﻿<div class="container">
    <div class="header">
        <h1>TODO</h1>
    </div>

    @@using (Form.BeginForm(WebApplication1.Controllers.TodoController.Urls.Create.Post()))
    {
        <fieldset id="contactForm">
            <legend>Message</legend>
            <p>
                @Html.Label("Email", "Email"): 
                @Html.TextInput("Email")
            </p>
            <p>
                @Html.Label("Subject", "Subject"): 
                @Html.TextInput("Subject")
            </p>
            <p>
                @Html.Label("Message", "Message"): 
                @Html.TextInput("Message")
            </p>
            <p>
                <input type="submit" value="Send" />
            </p>
        </fieldset>
    } 
    
</div>